home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
-
- <!--
-
- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
-
- The contents of this file are subject to the Mozilla Public License Version
- 1.1 (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS" basis,
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- for the specific language governing rights and limitations under the
- License.
-
- The Original Code is mozilla.org Code.
-
- The Initial Developer of the Original Code is
- Netscape Communications Corporation.
- Portions created by the Initial Developer are Copyright (C) 1998-2001
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
- dianesun@netscape.com
- stefan@borggraefe.com
-
- Alternatively, the contents of this file may be used under the terms of
- either of the GNU General Public License Version 2 or later (the "GPL"),
- or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- in which case the provisions of the GPL or the LGPL are applicable instead
- of those above. If you wish to allow use of your version of this file only
- under the terms of either the GPL or the LGPL, and not to allow others to
- use your version of this file under the terms of the MPL, indicate your
- decision by deleting the provisions above and replace them with the notice
- and other provisions required by the GPL or the LGPL. If you do not delete
- the provisions above, a recipient may use your version of this file under
- the terms of any one of the MPL, the GPL or the LGPL.
-
- ***** END LICENSE BLOCK ***** -->
-
- <?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?>
-
- <?xul-overlay href="chrome://messenger/content/msgFolderPickerOverlay.xul"?>
-
- <!DOCTYPE page SYSTEM "chrome://messenger/locale/am-offline.dtd">
-
- <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- onload="parent.onPanelLoaded('am-offline.xul');">
-
- <stringbundle id="bundle_prefs" src="chrome://messenger/locale/prefs.properties"/>
-
- <script type="application/x-javascript" src="chrome://messenger/content/AccountManager.js"/>
- <script type="application/x-javascript" src="chrome://messenger/content/retention.js"/>
- <script type="application/x-javascript" src="chrome://messenger/content/am-offline.js"/>
-
- <broadcaster id="bc_notDownload"/>
- <broadcaster id="bc_downloadMsg"/>
- <broadcaster id="bc_removeBody"/>
-
- <label hidden="true" wsm_persist="true" id="server.type"/>
-
- <dialogheader id="headertitle"/>
-
- <groupbox id="offline.titlebox" hidefor="movemail,pop3,none">
- <caption label="&offlineGroupTitle.label;"/>
-
- <description hidefor="movemail,pop3">&offlineDesc.label;</description>
-
- <checkbox hidefor="movemail,pop3,nntp,none"
- id="offline.downloadBodiesOnGetNewMail" wsm_persist="true"
- label="&makeInboxMsgsAvailable.label;"
- accesskey="&makeInboxMsgsAvailable.accesskey;"/>
-
- <checkbox hidefor="movemail,pop3,nntp,none"
- id="offline.newFolder" label="&offlineNewFolder.label;"
- accesskey="&offlineNewFolder.accesskey;"/>
-
- <separator class="thin" hidefor="movemail,pop3,nntp,none"/>
-
- <hbox hidefor="movemail,pop3,nntp,none" align="right">
- <button label="&offlineSelectImap.label;" accesskey="&offlineSelect.accesskey;"
- oncommand="onClickSelect()" id="selectImapFoldersButton" class="selectForOfflineUseButton"/>
- </hbox>
-
- <hbox hidefor="movemail,pop3,imap,none" align="right">
- <button label="&offlineSelectNntp.label;" accesskey="&offlineSelect.accesskey;"
- oncommand="onClickSelect()" id="selectNewsgroupsButton" class="selectForOfflineUseButton"/>
- </hbox>
-
- </groupbox>
-
- <groupbox id="diskspace.titlebox">
- <caption label="&diskspaceGroupTitle.label;" hidefor="movemail,pop3,none"/>
-
- <description hidefor="pop3,movemail,none">&doNotDownload.label;</description>
- <description hidefor="imap,nntp,none">&doNotDownloadPop3Movemail.label;</description>
-
- <hbox align="center" class="indent">
- <checkbox hidefor="movemail,pop3,imap,none" wsm_persist="true" id="nntp.notDownloadRead"
- label="&nntpNotDownloadRead.label;" accesskey="&nntpNotDownloadRead.accesskey;"/>
- </hbox>
-
- <hbox align="center" class="indent" hidefor="none">
- <checkbox wsm_persist="true" id="offline.notDownload"
- label="&offlineNotDownload.label;" accesskey="&offlineNotDownload.accesskey;" oncommand="onCheckItem('bc_notDownload', 'offline.notDownload');"/>
- <textbox wsm_persist="true" id="offline.notDownloadMin" size="2" value="50" observes="bc_notDownload"/>
- <label value="&kb.label;"/>
- </hbox>
-
- <hbox align="center" class="indent" hidefor="movemail,pop3,imap,none">
- <checkbox wsm_persist="true" id="nntp.downloadMsg" label="&nntpDownloadMsg.label;" accesskey="&nntpDownloadMsg.accesskey;" oncommand="onCheckItem('bc_downloadMsg', 'nntp.downloadMsg');"/>
- <textbox wsm_persist="true" id="nntp.downloadMsgMin" size="2" value="30" observes="bc_downloadMsg"/>
- <label value="&daysOld.label;"/>
- </hbox>
-
- <vbox align="start">
- <separator hidefor="none"/>
- <description id="retentionDescription" hidefor="" class="desc">&retentionCleanup.label;</description>
-
- <radiogroup wsm_persist="true" hidefor="" id="retention.keepMsg" class="indent">
- <radio wsm_persist="true" id="retention.keepAllMsg" value="1" accesskey="&retentionKeepAll.accesskey;"
- label="&retentionKeepAll.label;" oncommand="onCheckKeepMsg();"/>
- <hbox flex="1" align="center">
- <radio wsm_persist="true" id="retention.keepNewMsg" accesskey="&retentionKeepNew.accesskey;"
- value="3" label="&retentionKeepNew.label;" oncommand="onCheckKeepMsg();"/>
- <textbox wsm_persist="true" id="retention.keepNewMsgMin" size="2" value="30"/>
- <label value="&message.label;"/>
- </hbox>
- <hbox flex="1" align="center">
- <radio wsm_persist="true" id="retention.keepOldMsg" accesskey="&retentionKeepMsg.accesskey;"
- value="2" label="&retentionKeepMsg.label;" oncommand="onCheckKeepMsg();"/>
- <textbox wsm_persist="true" id="retention.keepOldMsgMin" size="2" value="30"/>
- <label value="&daysOld.label;"/>
- </hbox>
- </radiogroup>
-
- <hbox align="center" class="indent">
- <checkbox wsm_persist="true" id="retention.keepUnread" accesskey="&retentionKeepUnread.accesskey;"
- label="&retentionKeepUnread.label;" hidefor="" checked="true"/>
- </hbox>
- <hbox align="center" class="indent" hidefor="movemail,pop3,imap,none">
- <checkbox wsm_persist="true" id="nntp.removeBody" accesskey="&nntpRemoveBody.accesskey;"
- label="&nntpRemoveBody.label;" oncommand="onCheckItem('bc_removeBody','nntp.removeBody');"/>
- <textbox wsm_persist="true" id="nntp.removeBodyMin" size="2" value="30" observes="bc_removeBody"/>
- <label value="&daysOld.label;"/>
- </hbox>
- </vbox>
- </groupbox>
-
- </page>
-